import useCounterStore from '@/store/modules/user'
const useStore = useCounterStore()

export const isBtnFlag = (app: any) => {
    app.directive('btnFlag', (el: any, options: any) => {
        if (useStore.btns.includes(options.value)) {
            el.parentNode.removeChild(el)
        }
    })
}
